Unlike traditional ink-jet printer or laser printer that needs a ink box, an RPI printer can use a pencil or a pen to print the input characters and image in a grey scale. Also unlike the tradition printer that has to work with a computer, the RPI printer is a integrated printer that allow the user to directly input to and instantly get the image. The future of the RPI printer will be printing anywhere, anytime.
1. RPI printer is to accept typed text and graphic images from a computer and transfer it to paper
2. RPI printer will automatically transfer the colorful image to gray scale and print
3. By switch the drawing tools the RPI printer will be able to draw differnt styles
Figure 1. Allen 920E-XY Datagraph Plotter
Figure 2. First Prototype of The Printer
The first two weeks of the projects focused more on the hardware assemble while the least
week the group focus and spent more time on the software design and testing. The testing can be divided into two parts,
the first part is the testing for invidual motors and the second testing is the whole RPI printer to ensure the function
can work properly.
For the motor test, we firstly connect 12 GPIO pins in total for 3 motors(4 pins each). Since the stepper motor can be divided into 4 input for 8 phases, we write the code to make the motor move clockwise by giving the pulse in certain sequence. After successfully make them move in one direction, we reverse the order of the sequence in order to make the motor move counterclockwise. In this test, since we think that we may use multiple motors to control the printer together, we also create multiple thread to control the motors independently.
For the integrated testing, the group start to print the Cornell ECE Logo, figures about
this test will be presented below. In this test, the group realized that the orginal x axis is not stable and sometimes will
stuck because of the uneven force, so the result picture of this trial is incomplete and inaligned.
Regardless of certain deviation due to the hardware limitation, the design and implementation of the RPI printer meets the objectives and is able to print most of the input image in black and white. However, the steps the group took to meet the requirement is hard, which cost time and effort, especially the part to build the chasis. In addition, the system is mostly build on a handcrafted structure so there will be great potential for the future. The deviation inside the device is also caused by the uncareful design, so if the group can use 3-D printing instead, the group are suppose to have a better performance. The following images are outputs of the printer.
At last, the RPI printer will be able to print most of the picture which has a size in 400*400. It will be able to convert the colorful image to gray scale and print the black and white picture base on the threshold. Because of the limitation of the device, it will definitely not work to print a precise pixel points that cannot be determined by the pencil.
If the group can have more time and budget to do this project, the precision problem can be fixed by using a 3-D printing model instead of a handcraft wood structure. In addition, use a more precise drawing tool and more reliable drive system, the group will be able to print the input picture into a gray scale output. At last, by adding a camera, the group will be able to realize the function to instantly transfer to picture that just taken to a draw.
Woods------------------$10
Metal Rods * 4 --------$10
Step Motor * 5 --------$13
Screws( Several ) -----$6
In total --------------$39
Kaichen Wei: Taking charge of the hardware cutting, RPI circuit designing and Python programming.
Neo Yuan: Taking charge of the hardware structure designing, wood assemblying, and general testing for the printer.
Prof. Skovira - Advise on hardware, software, everywhere, provider of everything
Canhui Yu - Advise on the hardware construction and testing